package com.hl.sfzy.mapper.my;

import com.hl.sfzy.entity.my.MyNotify;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface MyNotifyMapper {

    //我的通知
    List<MyNotify> myNotifyList(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize);

    //添加通知
    int addMyNotify(MyNotify myNotify);

    int deleteMyNotify(int id);

    int updateMyNotify(MyNotify myNotify);

}
